﻿using System.Data;
using MyWeb.Data;

namespace MyWeb.Business
{
	public class tblCLASSROOMService
	{
		private static readonly tblCLASSROOMDAL db = new tblCLASSROOMDAL();
		#region[tblCLASSROOM_GetById]
		public static DataTable tblCLASSROOM_GetById(string Id)
		{
			return db.tblCLASSROOM_GetById(Id);
		}
		#endregion
		#region[tblCLASSROOM_GetByAll]
		public static DataTable tblCLASSROOM_GetByAll()
		{
			return db.tblCLASSROOM_GetByAll();
		}
		#endregion
		#region[tblCLASSROOM_GetByTop]
		public static DataTable tblCLASSROOM_GetByTop(string Top, string Where, string Order)
		{
			return db.tblCLASSROOM_GetByTop(Top, Where, Order);}
		#endregion
		#region[tblCLASSROOM_Insert]
		public static void tblCLASSROOM_Insert(tblCLASSROOMInfo Data)
		{
			 db.tblCLASSROOM_Insert(Data);
		}
		#endregion
		#region[tblCLASSROOM_Update]
		public static void tblCLASSROOM_Update(tblCLASSROOMInfo Data)
		{
			 db.tblCLASSROOM_Update(Data);
		}
		#endregion
		#region[tblCLASSROOM_Delete]
		public static void tblCLASSROOM_Delete(string Id)
		{
			 db.tblCLASSROOM_Delete(Id);
		}
		#endregion
		#region[tblCLASSROOM_GetByCENTER_CODE]
		public static DataTable tblCLASSROOM_GetByCENTER_CODE(string CENTER_CODE)
		{
			 return db.tblCLASSROOM_GetByCENTER_CODE(CENTER_CODE);
		}
		#endregion
	}
}